<template>
	<div>
		<button @click="handleLogin">模拟登录</button>
	</div>
</template>

<script>
import Cookies from 'js-cookie';
export default {
	name: '',
	data() {
		return {
			
		}
	},
	mounted() {
		
	},
	methods: {
		handleLogin() {
			Cookies.set('token', '1');
			this.$router.push({name: 'home_index'});
		}
	}
}
</script>

<style>
</style>